<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.dtd">
<configuration>
    <settings>
        <setting name="jdbcTypeForNull" value="NULL"/>
        <setting name="logImpl" value="LOG4J" />
    </settings>
    <#if hasspring==false>
    <environments default="code">
        <environment id="code">
            <transactionManager type="JDBC"></transactionManager>
            <dataSource type="POOLED">
                <property name="driver" value="${driver!}" />
                <property name="url" value="${url!}" />
                <property name="username" value="${username!}" />
                <property name="password" value="${pwd!}" />
            </dataSource>
        </environment>
    </environments>
	<mappers>
        <mapper resource=""/>
    </mappers>
    </#if>

</configuration>

